# Uncomment the next line to define a global platform for your project
 platform :ios, '13.0'

source 'https://github.com/CocoaPods/Specs.git'
#source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
#source 'https://github.com/aliyun/aliyun-specs.git'

deployment_target = '13.0'

post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
      target.build_configurations.each do |config|
          config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
      end
    end
  end
  
  installer.generated_projects.each do |project|
      project.targets.each do |target|
          target.build_configurations.each do |config|
              config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = deployment_target
          end
      end
      project.build_configurations.each do |config|
          config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = deployment_target
      end
  end
  
  installer.pods_project.build_configurations.each do |config|    config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
  end

  installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
      xcconfig_path = config.base_configuration_reference.real_path
      xcconfig = File.read(xcconfig_path)
      xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
      File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
      end
  end
  
end

target 'TryCatch' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for TrackStore
#pod 'UMCCommon'
#pod 'UMCSecurityPlugins'
#pod 'UMCAnalytics'
#pod 'UMCPush'

#布局
pod 'SnapKit'
pod 'SDWebImage'
#toast
pod 'Toast-Swift'
#数据库 SyncKit
# pod 'IceCream', :git=>'https://github.com/fengwei6666/IceCream.git' #, :git=>'https://github.com/pixohq/IceCream.git'
# pod 'RxRealm'
#网络
# pod 'Moya/RxSwift'
#模型解析
# pod 'HandyJSON'
# 键盘管理
pod 'IQKeyboardManagerSwift'

pod 'DeviceKit'

# pod 'iCarousel'
#pod 'YYKit', '~> 1.0.9'
#pod 'Masonry', '~> 1.1.0'
pod 'MJRefresh'
pod 'KVOController'
pod 'MBProgressHUD'
#pod 'ProgressHUD', '~> 2.70'

#pod 'SwiftSVG'
#pod 'SVGKit', '~> 3.0.0'
# pod 'KeychainSwift'

# pod 'JXSegmentedView'
# pod 'SSZipArchive'

 pod 'TZImagePickerController'

#pod 'AudioKit'

end
